package com.anng.hosp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan("com.anng")
@EnableDiscoveryClient      //在nacos中进行注册
@EnableFeignClients(basePackages = "com.anng")
public class ServiceHospApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceHospApplication.class, args);

    }
}
<<<<<<< HEAD





































=======
>>>>>>> e2606adf7a07ae4b7378a6e755df44c7dfd149bd
